package by.grsu.bso.model;

public class User {
	private Integer id;
	private int role;
	private String login;
	private String password;
	private boolean isBlocked;
	private String firstName;
	private String lastName;
	private String address;
	private String telephone;

	public User(Integer id, int role, String login, String password,
			boolean isBlocked, String firstName, String lastName,
			String address, String telephone) {
		super();
		this.id = id;
		this.role = role;
		this.login = login;
		this.password = password;
		this.isBlocked = isBlocked;
		this.firstName = firstName;
		this.lastName = lastName;
		this.address = address;
		this.telephone = telephone;
	}

	public User(Integer id, int role, boolean isBlocked) {
		super();
		this.id = id;
		this.role = role;
		this.isBlocked = isBlocked;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public int getRole() {
		return role;
	}

	public void setRole(int role) {
		this.role = role;
	}

	public String getLogin() {
		return login;
	}

	public void setLogin(String login) {
		this.login = login;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public boolean getIsBlocked() {
		return isBlocked;
	}

	public void setIsBlocked(boolean isBlocked) {
		this.isBlocked = isBlocked;
	}

	public String getFirstName() {
		return firstName;
	}

	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	public String getLastName() {
		return lastName;
	}

	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getTelephone() {
		return telephone;
	}

	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}

}